package com.wlf.demo.gradle;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@RequestMapping("/gradle")
@RestController
public class GradleApi {

    @GetMapping
    public Gradle get(@Valid Gradle gradle) {
        return gradle;
    }

}
